From: Dan Nicolaescu Date: Sat, 2 May 2009 20:16:55 +0000 (+0000) Subject: (x_handle_net_wm_state): Move declaration of lval before X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~678 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=216e0def83024c9e5de72a9f4993de36d2179133;p=emacs.git (x_handle_net_wm_state): Move declaration of lval before any statements. --- diff --git a/src/ChangeLog b/src/ChangeLog index 7e60e58482e..b375409315f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2009-05-02 Dan Nicolaescu + + * xterm.c (x_handle_net_wm_state): Move declaration of lval before + any statements. + 2009-05-02 Andreas Schwab * process.c (read_process_output): Make sure the current buffer is diff --git a/src/xterm.c b/src/xterm.c index e5f8a0c17c9..f12250085ee 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -8689,6 +8689,7 @@ x_handle_net_wm_state (f, event) Display *dpy = FRAME_X_DISPLAY (f); unsigned char *tmp_data = NULL; Atom target_type = XA_ATOM; + Lisp_Object lval; BLOCK_INPUT; x_catch_errors (dpy); @@ -8718,7 +8719,7 @@ x_handle_net_wm_state (f, event) value |= FULLSCREEN_BOTH; } - Lisp_Object lval = Qnil; + lval = Qnil; switch (value) { case FULLSCREEN_WIDTH: